Tests for @IgnoredWhenDetached