cleanup test
convert tests from coffee to js