More functional testing

Add testing of unit scheduling parameters and the unit restart flow.