tests fo vertex