added download to true tests and refactor assocation methods