fix a dependency bug in gulpfile.js
add tests (model list_dict properties)
correct some bugs found by the new test suite

in framework model