Fixed the Unit test for the `getLimit` method