Added simple reducer unit test