I call getPrinciple() to find out the principle in my test, and it always returns "gavin" Why? ;)
Cos you did not override Request.getPrincipalName() :-)