Fixing smoke & chrome cuke test i.e. handling dbconnections and dbwrapper object