Add tests for bzr integration