added testcase for hanging note also here