PatternDiscovert Test. other minor.