Test no-new, remove unused code