Make labels throw an error when delete a non valid label
Fix error handling
Implement labels unit tests
Merge pull request #9 from paolo/f_unittests

Label methods unit tests