Added ValueError Tests