fix default for dependent tests, also check for WITH_TESTS before adding plugin tests