Fixed documentation
Added unit tests and fixed probelem when moving item up