finished unit tests for calculator