The persons appointed shall take office and serve exactly as if elected at a municipal election for the office.