add spec directory and client test
require open-uri