Updated test_hashconsing for new ast (#2)