Convert tests to coffeescript