Fix two failing test cases.