new unit test for TOO_FEW_POINTS
TOO_FEW_POINTS code added

and code accordingly modified to catch that case