added unit test to check the parsing of an association; fixed swapped ...

...targetObject/sourceObject