Add testcase for cimport+alias+subclass bug

The test may require moving into tests/compile after the bug is fixed.
Merge pull request #249 from strohel/cimport-alias-subclass-testcase

Add testcase for cimport+alias+subclass bug