testing object to string function