Convert tests to coffeescript and split up