testcase for broken environment cleanup
cleanup env by unloading App instead of recreating

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.