Setting test environment