Fixes #239 by invoking test method through reflection instead of call_user_func_array