Use unique ID for local variable
Migrate str unit test to new framework