fixed some client tests and bugs
fix failing test