You know, testing such code must really suck