Add simple test for method calls