Added integration tests (fixes #3)