Fixed validator tests whose code check was missing.