Testing http://localhost:8080
PASS malformed JSON and invalid UTF-8 -> 400 with error envelope
PASS duplicate username -> 409
PASS outsider cannot access chat -> 404
PASS empty/whitespace message -> 400
PASS extra JSON field -> 400
PASS pagination: 7 messages read through multiple pages
PASS concurrency: 10 clients sent 100 messages; exactly 100 unique messages stored
PASS invalid chat UUID -> 400; unknown valid UUID -> 404
PASS chat members: 1..100, unique, existing, caller included
PASS invalid cursor/limit and cursor from another chat -> 400
PASS pagination: 7 chats, changing limit between pages
PASS strict types, Unicode, password rules, Bearer-only identification

PASS: 12 student test scenarios completed
