Fix acceptance tests

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