Added another testing function and grouped them together.