Updated test_hashconsing for new ast