[PATCH 2/4] tests: Adjust C-API test source paths and add command line option