Tests for bug program