Ported tests to coffeescript