add test for calling method in other class