add test for riak_kv#499 to secondary_index_tests