moved static initializations out of beforeEach()
added _getDirection() tests
removed some spaces