Implement <object> and add tests