added tests for cross platform generation.