Added automatic skipping of tests whose preconditions are not met.