Client tests moved from client module into a separate one.