fix bug for usage of util.inherits
update unit test
fix redis.destroy bug