Principles and Tests for a Green and Just Recovery