Fixed issue #2979
Added test case for DB Listener callbacks before tx