Apikit-290:
- Adding missing tests, including tests for border cases.