improved readability of mock.toString()