add smallhash unit test