extract strings working on test case