Clenaup test 6

Remove an unused function.