Expanded test and made sure process.env is passed on properly