Added unit test to create model.