Added test for boolean attributes such as checkbox.checked