added unit test to check the parsing of an association; fixed swapped tragetObject/sourceObject