Remove failure expectation.
Replace defunct syntax with valid function definition syntax.