Created and validated tests for createModel (issue #9)