console test for tostring