This should have sufficient tests in fdroidserver. We don't need to replicate those here.
fdroidserver