ticket:6 add tests for widget class
ticket:6 add test that widget is rendered in form