Remove deprecated testing code