adds test of fetch on click