Added unit tests for Factorial class and additional calculator functions.