Some tests.

Conflicts:
	package.js
Changed hash parameter to __hash__ for #1