adding validator tests