Fix another typo and add test assertion