Add example and test for data binding to a whole object.