added test infrastructure for data extraction methods