added selenium and e2e tests