Add $history mock to contacts test.