Convert tests to coffee and add features

this needs dill.js to be updated