Fix deadlock when fetching from DB
Handle assigning an album track to a file
Tests: Ensure we're using a clean test environment