-- Add client-side test completion and result calculation.