Added UI tests and fixed minor bug in persistence setup connection step