adding tests and process.env