added submit button and test to cover it