completed testing with rspec and add .env file