Created unit tests for the move invertion