add tests and fix bug with arr class/config store