parser handles unicode escapes, checks for number range errors, more unit tests