tests: add test for internal data stripping