Filtering by severity keyword has been tested.

No more underlying type info in keyword class definition.
Minor code moving.
Static attribute test fix.