Some functions needed to be tested