Added contains? methods to extractor with testing methods in testing.