Added GenerateBasicModel function and test for it

TODO: Add more tests