Added validation to case studies tests.