added test for vcindexer and code to make said test pass