Test setting border