Feature/index tests

The curl long-line is still there...