Fix parsing of 773 and add test