src: Various bug fixes around the genops_test.