Changed checkbox test to use new code.