changed tests to use live env