added specs for converting hash to cli opts..

fixed converting, to allow options without values