fixed generics for builder dsl
fixed for header test resource
added convenience method for specifying expected response predicates
fixed generics problem for builder dsl
fixed bug with index not creating enough entries
big collection of bug fixes after some smoke testing.