setting up testing of functions through modules