tests for Auth Token Plugin; refactored methods for getting History and Mock Response;
will only work with >=5.4; Removed uses that weren't being used