Added testing to the new method in notes controller spec