redundant tests for qualified types