set environment to test before requiring the application