Add tests for client pkg

Ah, cool. Fixed.