add integration tests. Fix some 1.1 issues.