This patch adds two test about template class instantiation in transitively imported module. They are used as pre-commit tests for successive patches.
The original commit fail in windows. It is odd since I think this should be target-independent. I don't have window environment so I sent this to test it.