adding integration tests, they should be used as documentation too #5