fixing authspec test