set up proper test environment