failing string opts.key test
fix expected test output
whitespace fix for the key test