cleanup test and make tests work regardless of AWS_MINION_PROFILE environment variable