Józef Kucia : tests: Add test for primitive restart.