Added some tests for Direction.