Improved test coverage for label.py by editing exisitng testing functions