Fixed test for irt to use arraylist so duplicates are allowed.  Also added in a corner case to make a null pointer for classes with no instance variables.