Create test for flags that don't exist, and preliminary test for environment flag