Cleaned up getOption spec

`to.have.returned`