Fix typo in unit test assertion