better validation tests in client.unit.js