fix tests
coffeescript support improvements