lol, it doesn't matter what is underneath the nail polish, this is testing the permeability of the nail polish itself, AKA will water go through the nail polish.
It's geared towards Muslims, so the washing required for prayer works. The water needs to reach the actual nail. It evaporates after, when it can get in it also can go out again.