Added in test functions for each of the calculate operations