deleting extra tests and code
adding raise error tests to script
delete extra tests