added new testing routines for specific functions