More test fixes

Fixes one spelling error and extracts a test method with the correct expected value.