Extracting test setup