Added tests for note adding.