Added support for NODE_ENV to determine if the unit tests should be turned off