Testing download capabilities inside of library js