Bug 5327 shifting database dependent modules and scripts to t/db_dependent