changed spec file to coffeescript