Added redis server test. Fixed mongo server test.

Plus lots of fixes along the way..