Added more fixes to tests.cpp, improved the error handling in database modifyRecord function, documented changes