fix str to String in tests

I'm so sorry