Fixed tests for QA-470
Fixed readPreference bug for mongos