Added unit tests (Failing) for document upgrader.