tests for method calls, fix in static calls