Fixed type hinting
Added tests for DataModel::save
Added tests for DataModel::save when relations are set