small fix for test  if checkbox is checked