Improve functional tests for notes#index