Added framework to test extraction queries