BS-9094 : add unit test to FormButtonWidget