Tests for order restrictions in binary data.

Tests for order restrictions in binary data.