added more test to cover validator tests