testing: rename ifstate-test to cstate-test

Fix to allocate default global config.
Merge pull request #113 from pwieczorkiewicz/client-state-testing