test: regression tests for n_indexopts_{get,set}_decrypt_policy