Added some STS Delegation tests + fixed a bug with ActAs
Fixing build