Fixed tests and implemented more methods for redis