finishes testing for first four functions