Modifying TestObserverMode unit class