Test framwork: Check if warning message points to correct position.