re added the error in doc with error file
added a shell script to run the test function