obsolete "junit.framework" replaced with "org.junit" in tests
added string bound check if input string ends with an invalid escape sequence
Merge pull request #6 from voho/master

just some little fixes