Trigger test mode by checking NODE_ENV

Adds CYLON_TEST var for tests to make sure tests run properly