setting up environment with testing