Add unit tests for two working composite examples.