num-gen tests updated