Fix incorrectly written test