forgot integration tests. fixes #1078