put module test cases in their own JS file