add a first end-to-end test