Added some e2e tests.