More tests for consistency over deleted elements #297