Fix tests for RequirementTestPanel

-All of the logic is in the constructor along with dependency creation,
making it hard to test...