move db from main resources to test