improve test coverage for local module

Change-Id: I443fdaf7b270c2d02ae68bdd7af00928ea2f0a49