Unit tests for hash.moon