more tests, fix to_string