This test file would be clearer if you split it into two contexts - the difference of the config to environment, and vice versa.