Test invalid calls to automatically generated accessor methods.