Refactor paletter label provider + add unit tests