Remove meaningless return value in test.