[COOK-3104] Fixes issues with attributes set in cook-2086 tests

Set the environment_variable correctly for 2086 and fix issue with minitest that fails with that string set properly in the cronjob.