corrected test
changed error code