Add tests for to_strinyg_h

My previous commit missed the tests