Replace spaces with tabs in test code