Added Reducer and test;