updated test to account for changes in testfunction