Accept lists and ranges of codes in assert_status