fix coffeescript test issue