added a couple of tests and fixed some convensions about the rotations