Added specs to optparser