adds object, date and regex. tests updated