fixed error where correct ids were return as bad ones
used test to fix error where good ids were being returned as bad
test fails properly now so will make it pass
test now passes
fails as expected with null string as argument
edited method to be case-insensitive