* Add self test functionality * Fix mac ci * Improve erorr messaging * i32 support * Fixup self-test comment * Fix review nits