Add ast library and asm test