Added type checks to TestSuite constructor