Added tests for DataModel::firstOrCreate
Added tests for DataModel::firstOrFail
Added tests for DataModel::firstOrNew
Added tests for DataModel::lock
Added tests for DataModel::orderBy
Added tests for DataModel::publish
Added tests for DataModel::restore
Allow publishing only for loaded records
Allow locking only a loaded record
Allow archive only on a loaded record
Allow restore only on a loaded record
Added tests for DataModel::restore