corrected compilation problem, corrected a test