Fix bug with generated soap tests when collections are returned