Update with ranking test cases and add new line for each note