Fix for adding a class already known as association.
Modified testcases to handle the new class association structure