Implemented separator frame calculation
Added more and more tests
Fixed bug with tests
Support nested borders