added test for int as validator messages