Allowed tests with custom callbacks to be declared directly.