Added tests for DataController::edit
Added tests for DataController::add