Try to set up proper test environment.