Added code to include support for multiple test cases.