toString() test function complete