t: remove legacy test code