adding verify modes. and fix the use of them in tests
go fmt