fixes validator tests