fixed test when ran in gradle.

added vector e2e tests.