int test2( ) throws MiniDB_Exception{
    MiniDB db, db2;
    BPlusTree bpt;
    int points = 0, maxPoints = 5;

    Random rng = new Random();

    db = makeNewDB("test2.1" );
    //
    int recSize = 50;
    String indexingFile = "file2.";
    String indexedField = "field2.";
      
    BPlusTree bpt50 = db.createNewBPlusTreeIndex( indexingFile, indexedField, 50 );

    BPlusTreeLeafNode root50 = (BPlusTreeLeafNode)bpt50.getRootNode();
      
    if( root50.hasRoomForAnotherRecord() ){ System.out.println( "a) +1" ); points++;  }
    else{ System.out.println( "a) -1" ); }

    root50.setCurrNumRecordsOnBlock(1); 
    if( root50.hasRoomForAnotherRecord() ){ System.out.println( "b) +1" ); points++; }
    else{ System.out.println( "b) -1" );} 

    root50.setCurrNumRecordsOnBlock(2); 
    if( !root50.hasRoomForAnotherRecord() ){ System.out.println( "c) +1" ); points++; }
    else{ System.out.println( "c) -1" );} 

    db2 = makeNewDB("test2.2" );
    BPlusTree bpt70 = db2.createNewBPlusTreeIndex( indexingFile, indexedField, 70 );
    BPlusTreeLeafNode root70 = (BPlusTreeLeafNode)bpt70.getRootNode();
    if( root70.hasRoomForAnotherRecord() ){ System.out.println( "d) +1" ); points++; }
    else{ System.out.println( "d) -1" );} 

    root70.setCurrNumRecordsOnBlock(1);
    if( !root70.hasRoomForAnotherRecord() ){ System.out.println( "e) +1" ); points++; }
    else{ System.out.println( "e) -1" );} 	

    System.out.println( "test 2: " + points + "  of " + maxPoints );

    return points;
  }