Testing methods for sorting singly liked lists