Fixed error module.test is not a function.