Simplified code for testing contact lists