Fix a test selection bug violating 1:1 principle