This patch adds a license checker to the automated tests. This ensures that only dependencies with licenses from a list of known good licenses are used.