Fix test mock to generate new table each time