tests: use options object instead
index: only encode supported options

Perhaps this should throw an error.  For now, lets stick to the
standard.
index: ensure failure for bitcoin:// and invalid floats
0.0.6