Students' test scores slip as they advance in school