Finished initial testing of model. Now also handles exceptions