Fixing integration test now that error code is more specififc