Refactoring tests - mainly integer stack tests.