Improved test to avoid /0