Test for opts

Change-Id: I897d76cbf1b89d98954ba3501a49146c440a6efc