optional plugin tests should also be dependent on WITH_TESTS