A fix for the monoid issue in endo-functor tests
Adding state & state_test
Adding state, manual tests and store