Add test case for mismatchedAssignmentFailure