removed whitespace
fixed expected urls
implemented redirector helper which is used for testing