More practice with functions and tests