js modules for test cases