Remove test code from index