added test for CircleDataLoader
refactored db init runner