undo sonata core in test bundle registration