Add more unit tests for IndexedStatusList hasSubStatus