removed the hardcoded key for test mode and generate a fresh one instead