Could anyone explain to me how to solve this issue?

I have run a regression and stored it but I cannot use it to perform tests. Here is the relevant code: the fist code line shows that the equation does exist and has been restored, but the second code line shows an error as though the equation were not there. (I know that I could write simply "test laidoff_event", but I need to perform a test of coefficients that come from different regressions). Thank you

. est restore reg2_y3_fem
(results reg2_y3_fem are active now)

. test [reg2_y3_fem]laidoff_event
equation reg2_y3_fem not found
r(303);