Fix unit-tests relying on property-based assertions to use function calls instead, using "dirty-chai" to modify chai's property checkers.