Add test to check HTTP response status is 301.

#5718 

WIP

Marking this as WIP as still the test is not passing. I get a 301 but the test is catching the 200 after it as far as I understand. I go to "john/node/2" with nid of 2 is the group node. I'm redirected with a 301 to "john":
![selection_057](https://cloud.githubusercontent.com/assets/4497748/2628557/bd6cd41c-be28-11e3-9a6c-cb175582a26b.png)