Working testcase of broken environment cleanup
Cleanup env by unloading App

The rationale behind this decision is that it is safer and easier to let
OTP handle resetting of the environment back to its original state,
rather than trying to mimic this behavior. On top of that, the attempted
behavior did not take into account that a configuration file can
reference other configuration files.