Wrapping functions in `expect` testing error

If you are calling `problem.answer` method as is, it's scope is
global and can not access instance variables in `problem` object.
Therfore, this test will be always returning success.
Merge pull request #1388 from marocchino/fix-coffee-wordy

coffee wordy: Wrapping functions in `expect` testing error