added an end-to-end test
updated readme