Added unit test for in-memory repo
Adding redis implementation of StreamDefinitionRepository