Implemetation of buggy test program