Ported runtime class rep test.