Added move by certain parameter methods. Fixed nasty reference bug relating to object references. Added unit tests for move by parameter methods.