Unit tests for get and set state args