Added test for NEAREST slaveOk and stricter setting of slaveOk #905