Hello & Welcome to Tom's Hardware!
Make sure your Windows 7 copy is activated!
If it is might try this per Microsoft:
Open a cmd window with administrator rights. Make sure your right clicked on cmd and 'run as administrator'
then tye exactly and run this command:
Bcdedit.exe -set TESTSIGNING OFF
Reboot the PC and the test mode should go away.
Hope that helps!