added unit testing for httpservice(get meta data and post password)