directed hash should be directed when edge vertex swapped
Tests