Recording a bag from playing a motion done. Some tests added