Misspelled variable. Also, updated a test