Automated regression testing of database applications