ensure that using ext codes outside the specified range fails