named functions, expanded tests