adding some simple end-to-end tests
improving explanation in README