install should throw exception