merged testModel.cpp