Add test exposing UnitOfWork merge bug

I hope that I'm doing something wrong and that this is not a bug ...