Improved testing to assert on all ModelObject methods.