Added more comments and described test sets.