Fixes testing environment bug