Changed default env to production

  Added tests for require format methods