Adding note tests.

The tests for the note entity are added in this commit.