Fix integration tests for notes