add redis api test file