Added .attr test for boolean attributes