Sorry, it took me a while to get around to trying this out.
Anyways this is what I input:
Unfortunately if I keep the destroy option on it shows me a random spot on the layout upon starting. When I turn it off the doors don't work. I'm not sure how you are choosing the layout name in the coding and I think that may be the problem. When I tried to play with the destroy/spawning settings I wound up with this:
I tried a couple of other ideas I had which looked like this:
This works out pretty well if I am going from 'Testarea1' to 'Testarea2' but once I am on 'Testarea2' all the doors don't work despite having the same coding aside from the necessary reversals. It's also really long.