add more tests, key extractor and crob job