Set max stack size for tests