added SKIP and TODO directives to TAP output, fixed strcat()