e2e tests refactoring (1/n) trying to get all common functions / features into a separate common module.