improved isIP unit tests
wrote unit tests for isJson and isKrb5Princ