added comprehensive test for smallest program