PHP-294: Test for workaround on sending commands to secondaries

To be merged after #316.