data.string unittests

Signed-off-by: Esben Haabendal <esben@haabendal.dk>