Add tests for Submit view