update module test, add controller test, fix abstract service factory test