added download to true tests and refactor assocation methods fix #19