inserted tests for note functionality