completed exercise 6
added a test to make sure friendly forwarding only forwards to the given url the first time