Added further steps in building test_db