Added tests to Hamm