profiling.core: add weighted tree tests from incubatorSigned-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>