validate vertex ids implemented and tested

same, no need for throws