Remove test code from the index.