test for adding objects in the main thread from a timer