This tests all the methods in the CheckboxMenuItem class.