I am not sure about this callback being set in line. This could leak to other tests.