prepare test environment