unit tests for method call parser