nix dead code from test