add test for hama