Convert EJOR sample in a test.