Fix ast_test for testing.