addState test fix
Merge pull request #14 from max-potapov/fix.test

addState test fix