Database: updated and enhanced database test data
Database: added new database caching test
Database: fixed reinvalidating data in execute() state of execution.
Database: added test for caching joining column in case of empty join resultset
Database: fixed caching joining column in case of empty join resultset