Added testOnBorrow to avoid the case where MySQL's wait_timeout config setting is smaller than our minEvictableIdleTimeMillis value.