Remove history stub from tests

Now the tests actually call the History API.
Additionally, the History API calls are logged to the console.