Continue on pr #15 : update how obj.ready is updated and add unit tests