Do not dispose environments outside tearDown()

This caused exceptions (write access assertions) when tests with mock application ran after tests with full Application