prefer not using else if
moved redistest to allow for reuse
tests for bytecache
tests for bytestore