I don't think this is a test.
People keep saying the spending freeze ect is a test to see what Trump can get away with. I personally don't think this is a test. This is how Trump leads.
He's impulsive and doesn't plan things well. Remember the first round of the Muslim ban that got struck down because he kept calling it a "Muslim" ban? Any persons with an ounch of common sense would guess a country built on religious freedom shouldn't use the term "Muslim ban" in legislation. However Trump doesn't have that foresight he just wants what he wants.
I see this same thing playing out now. I think it might get worse as he just surrounds himself with yes men, but it's hard to see this as any sort of planning