Update clear test to check for #1
Additional tests for nested items
Implement targeted clear - closes #1
Bump version to 1.3.1