implement tests for Note