refactored the OneVsMany test so there is only one assert.i