Added tests for check_*(), encode_*() and *string*(). Found 1 bug.