Make sure unit-tests/engines always exists
(cherry picked from commit c8c7476ee44a3f039678fc1b47579e00c810ca89)