Wrote server-side tests