toString with test