More testing of function