Addition of functions and testing of analytics