Adds unit tests for the pan2 unit generator.