Added unit test for Util#isNumber
Made Error class final