Improve tests for CoffeeScript

This tests changes is for PR #287.
Merge branch 'coffee-tests'