first test of inverted index works