added some tests for checkbox