Tests have a sub-module dependency, so we must
include it, if the tests are enabled.
Also adds pydantic as a test dependency.
Adds patches from PR #225 which allows us to use
purl-spec 1.0.0 for testing.
The PR consists of 3 patches, the third of which is
the submodule pin, this third patch is not used
in favor of pinning via variable ${PURL_SPEC_PV}.
Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>