Add support for declaring persisted attributes.
Adding a bunch more tests around the specific model methods and reorganized for smaller test classes.