Changes for DB connectivity testing through JUnits