allow localhost redirects with config value

fixes #144 
Yes, I missed that. To remove that potential mistake in tests, I've grouped these tests into a sub-suite with `beforeEach` and `afterEach` tasks.