Fix component test using deprecated `.state`
Merge pull request #29 from kenips/bug/component_test_deprecation

Fix component test using deprecated `.state`