restore fixture test code