assert against object identity of factory output