Add selftest for option_data_provider.

Signed-off-by: Andras Mitzki <mitzkia@gmail.com>