Fix variable name typo in test

Returned test passed, when it should have failed because of bad
variable name.