Change labels api commands docs.
Add labels api commands tests.