added assertEquals to assertRedirectTo method