Now for testing, I don't think you have to logoff and logon every time.
If you know what you are doing, you can make a simple script that removes all drive mappings, printer mappings etc.
I presume you are storing the test login script in the netlogon share. Just start it p.e. like this:
Code:

\\domainname\netlogon\wkix32 \\domainname\netlogon\test.kix