api template: APIs sometimes do need test code

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Allow a single source set for new projects

Some templates don't have the test source set

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>