test verifies that < and <= are treated like BEFORE; > and >= are treated like AFTER