Code improvements, and test for Bandcamp plugin