Fixed tests for ignoring function return value