Fixed some remaining bugs from the refactoring.
Added test for used Attribute profile
handle interaction needed in a special way.
Added a couple of new checks (signed part, signature algorithm and attribute name format).