Merged test function for NETWORKDAYS.