Unit tests for index file parsing