Added new test case for attaching notes