modifying exception handling and test labels
adding comparison