Fixes testing environment.