Fix two study bugs concerned with minimum subject lengths; add features to pcretest so that all tests can be run with or without study; adjust tests so that this happens.
Changed paths: