Fix up some tests
Add a test for special index types with foreground and background index
builds.