need test 5 for error code