Add test exposing UnitOfWork merge bug

I hope that I'm doing something wrong and that this is not a bug ...
Well, merge() does not make the argument it receives managed. It returns a new instance which is managed (because it might already have it in its identity map).

So you issue is a wrong usage of merge()