Issue with multiple unexpected entries of child state test