> It seems from your test that you run even callbacks from the parent package?

There is no concept of parent packages in ceylon, callback `fooToplevelBefore` is expected, because it is top level callback for class `FooWithCallbacks`, which is ancestor of class `BarWithCallbacks`.