working on testing of exportdb method