adapt client.rb spec for setup class