added cleanUp() to end of function tests