Fixing RestExplorer tests

Setting the mock accessor after the tab click doesn't work so well. I'm setting it in ```setUp()``` and resetting it in ```tearDown()```.