fixing earthworm tests + adding Client.availability test case