Fix aa_resize binding
Add tests