Remove unused test type.
Remove insideList flag; check for more error conditions.
Restore insideList flag, check more error conditions.
Throw error for invalid language-tagged value.
Add/fix more error cases.
Follow spec for dropping free-floating objects.