fix(e2e-tests): Fixing the main loader (util file) for e2e tests