Test that show issue #1827

It looks this problem occurs in WindsorObjectBuilder too.