added test script to see if error handling works, this can be expanded as the project develops