updated mode of binary, added test for mixed selector string