Added unit test for g.importModule

Leo build: 20141208131247