Prevent an error when parsing test files

When parsing test files there was an error that $m[3] didn't exist, check for that. $m[1] will always exist even though it is optional because of PHP's handling of preg_match.

Also improves clarity for the next reader.