Add 'getState', 'setState' and 'updateState'
Add tests for state access parsers

‘get/setInput’, ‘get/setPosition’ and ‘get/setUserState’