run in mocha if file is test