    @Test
    public void testWriteToHadoop() throws Exception {

        GraphDatabaseService db = setUpDb();

        // Use test configurations
        ConfigurationLoader.testPropertyAccess = true;

        createSampleGraph(db);

        Writer.exportSubgraphToHDFS(db);
    }