build test environment