fix failing isDivisibleBy tests