don't reset a provided duration to 0 when doesn't match scheduled; remove 'diabetic' language from comments
add and modify tests in response to feedback