The ministry says tests later confirmed they were infected with the H5N1 virus that is potentially lethal to humans .