extracting tests