cleanup definition of sparkTest