added unit tests for associating already downloaded units