Wrong `music_dir`. The one passed as an argument to `populate_db` should be used. This is why the filenames are going in wrong in the test case. If you fix this, you should be able to remove the incorrect `basename` call from the test case.