implemented better rupbgsave (bug fix)
fixed redis rup testcode bug