test: fix redirections#normalize() coverage
chore: fix JSHint warnings reported by CodeClimate