Refactored test class setup for TestCore in  test_dbr.py to use correct tmp files instead of known subfolders