added test for isEqual with different parameter constraints