Fix reducer test
Add beforeEach function
Add run function test