add tests for util calculator