add test coverage for note class