DRY-up server tests.