test(lib): update unit tests
chore: update server.js