Add tests for Replier.js