ISPN-2581 Create unit test for state transfer completion

JIRA: https://issues.jboss.org/browse/ISPN-2581