Fix acceptance tests

Acceptance tests did not work from multiple reasons like path changed, UI changes and db schema was out of date.