Added spec tests for the index filters

Signed-off-by: 5Ub-Z3r0 <bitbucket@nikorasu.net>