add factories and updated client model spec to use factories