Added tests for DB load