Add some unit tests for client header