code coverage demo and calc change

added good sample code to demonstrate code coverage and change calc
class to fail when number is greater than 1000