Adds basic tests for handling direction changes