Exported the function as a module to run the tests.
Added tests to the 'Count decimal places' solution.