test/py: only check for SPL signature if SPL uses serial output