redux implementation hook test