$.each test case added

seems to work - will roll out after larger structural changes are in
place (move into use of objects to store aid types)