test checkbox is checked by default