Add tests for borders get and set feature and threshold