added tests and change AttributeIdxStrategy to apply additional attribute filters besides the one used to index