fixed the bug about startdates not being inserted into the CRM
fixed a unit test