added test for static method Calculate