Unit tests for client, repositories and signature