Test catches raised error when data points are missing. Fixes #1197.