Click on checkbox/radio should change state

fixed changing state after click on checkbox/radio elements.
added two tests.