added in get min and max tweet. refactored test functions into helpers