Adding test for app.env option