adding tests for position extractor