Update tests.rst

s/has names/have names/