added cookie mock
added test
changed test html

- deleted sinon.js
- appended script tags
removed sinon.js