added test for submit
fixed e2e-tests