Fixed e2e tests for 1 component. Moved file to library.