Fix test to take into consideration more complex test cases
Fix test to take into consideration more complex test cases

tomviner/isort,levic/isort,pahko/isort,graingert/isort,aequitas/isort,PyCQA/isort,AbsoluteMSTR/isort,tomviner/isort,leepa/isort,jmullan/isort,AbsoluteMSTR/isort,jmullan/isort,wimglenn/isort,adamchainz/isort,jamesbroadhead/isort,PyCQA/isort,pahko/isort,aequitas/isort,graingert/isort,adamchainz/isort,gforcada/isort,gforcada/isort,leepa/isort,jamesbroadhead/isort,wimglenn/isort,levic/isort