Add test of checkbox hiding behavior