set type on incoming callback param and remove is_subclass_of check; in testapp, remove include_once s