[FEATURE] Refactor server to use router.

[CHORE] Use assert.strictEqual.