@Test
public void testBBoxFilter()
                        throws Exception {

    LOG.info( "START Test: testInsert" );
    initStore( TstConstants.configURL );
    Assume.assumeNotNull( store );
    TstUtils.insertMetadata( store, TstConstants.tst_9, TstConstants.tst_10, TstConstants.tst_1 );
    GeometryFactory gf = new GeometryFactory();
    ValueReference pn = new ValueReference( "ows:BoundingBox", nsContext );
    Operator op = new BBOX( pn, gf.createEnvelope( 7.30, 49.30, 10.70, 51.70, CRSUtils.EPSG_4326 ) );
    Filter filter = new OperatorFilter( op );
    MetadataQuery query = new MetadataQuery( null, null, filter, null, 1, 10 );
    store.getRecordCount( query );
}