finishes testing for first four functions

didn't get to the fifth. I opted for sacrificing efficiency for short code.