There are many cases of "false negative" with current testing kit.
Most probably, patient who almost recovered, received false negative result and has been released from quarantine still being contagious.
Partying with neighbors definitely was a bad idea.