Testing direction vectors