Updated directive to load specific notes, fixed tests