Added message in ValueError and test