Storage tests: Check the button labels before clicking on them.

This makes it easier to see what's wrong when something goes wrong.