Added test cases for showfaults() and showsentences() functions.