Add a unit test for the 'scala-jar' mapping.