added first end-to-end test