Improved description of generator function for limiting notes and wrote additional test.