sending func tests for index and show