DirectionTest modified

implemented test methods for class Direction