Package juggling in tests