setup of test environment