prepare5.2

Connected direction with sprite-drawing and added some tests for that