Fix unit tests
Allow running without Asterisk configured