test default values within methods