adding unit test for checking that adding milestones in one thread is reflected in other threads - possibly related to #613