more testing of functions