fix test for jwt length
add failing test case for extractor
refactoring. add extractor logic.