Save memory for tests