Add a lot of autogenerated tests - fix bugs found