thread arg should be int rather than str, due to expected test behavior