added method test() to RebaseTesting class