Set up testing evironment