implements testing and calculates program execution time