testing of check function comment is valid