extend test for makeSingleObjectiveFunction