Use proper test structure for client-side code