Fix DiscreteVariable.find_compatible not to fail when there are no existing variables with this name
Add tests for DiscreteVariable.make