PHP-475: Functional tests for read preference exceptions