Fix string comparison in test.