created unit test for checking notes