Remove error from TestSuite class

With dynamic memory allocation removed error will never be set to true
and is therefore superfluous.