Am I correct to assume that the test would be exactly the same if it enabled and disabled sprites instead of background?
I'm pretty sure it would be. As I recall, enabling BG and/or sprites puts the PPU into its normal rendering mode, where it uses palette entry 0 for the backdrop color.