added notes file and fixed tests