test(server/index.spec.js): Added server integration tests for user registration.