Prison officer tested after assault by inmate