integer and function passing tests