add tests for default-index