Adding end-to-end test