added tests on model schema creation
updated the documentation