Fixed test with GenDocAPI