Added unit tests for macro generators for known types.