Wrote test method for toString() under linTest