Add more instructions and memleak test