fixed validator test error