e2e test added. fixes #5