Time: Update API key ENV name, Fix testfile