Add validation to frameworks to make ure they are specified by name only

Tests are failing and I don't know why but I believe the logic makes
sense.