test downloading code