[#52117673] Add cleanup task
[#52117673] reduced the number of build to iterate through
[#52117673]drop databases only if they exist
[#52117673] Added tests to the cleanup
[#52117673] Fix broken tests