added Lit,Pat tests.