Added tests for text box and radio button