Tests: add tests for borders