Fix method calls in tests for 4.2.