81, 89, 92, 96, 97
The median is the middle score. Since there are 5 scores, the median is the 3rd score.
Therefore, the median of Andrew's test scores is $\boxed{92}$.