fixed an error in the autogenerated tests