Tests fixs for AutoreplyServiceSpec
Merge branch 'CORE-1104-fix' of github.com:frontlinesms/frontlinesms2 into CORE-1104-fix