ast: test fix