stat calc tests
adding test cases for stat calc