[PATCH 13/21] test: Move str_ut test into lib