adding spec tests for new options parsing code