added and fixed tests for updateClientDetails action