add test for prototype callback setup
add throw/catch test
create / throw test
Merge pull request #1041 from rmosolgo/model-prototype-lifecycle

More tests for model lifecycle events