Fix exclusion of tests directories from coverage reports

The glob pattern `*/tests` wasn't actually matching files, whereas `*/tests/*` does.