added tests and compiled coffee-script