fourth test passed - method correctly defined