Add initial tests for process types

 - test existing behaviour of start commands and procfiles, and
   new behaviour of returning the detected_start_command in the API

[#76096574]