Have AbstractModelTest check whether the entityManager is open before
trying to close it. Write a test to verify status code sequencing
trigger behavior
Merge branch 'master' of
https://github.com/ChiralBehaviors/Ultrastructure

AbstractModelTest now checks whether the entitymanager is open before
trying to close it. Test to verify statuscodesequencing trigger behavior