moved test fn str
cleanup