Igcs 142 fix test target

@andymoe, appears to be fixed. Killed off a couple of warnings while I was at it.