moved tests into their own directory
+ jshinted by removing an unused var