Further setup for testing
Adds tests for index