test: Define test utilities to simulate connection from the backend
test: Use commonly defined utilty
test: Test backend/connection.js without mocked sender and receiver