separating files and testing with mocha