tests and their setup, minor refactor
format, jshint tests, added split
rename