Cover both target encoding cases in the test, First case classes_ line up with enoding

second case classes_ is not a 0 to n sequence