added test for callback class