Expose a getCookie() method on tracker
Add test for cookie reset