Casket Model tests
new tests, bug fixes