Add test on object for time and string