Test if program works