made test work with my setupy
js 2 coffeescript convertion