fix consistency issues and add more tests to build a notes section from scratch
small fix to delete