Bug fix if a test function creates a new variable in the module table
Bug fix if a test function creates a new variable in the module table

When a test function creates new variables in the module table the
next-iterator get confused. This resulted in some tests getting skipped.

The solution is to create copies of test names or test case names
before iterating them.

Thanks to Geoff Richards <qef@ungwe.org> for pointing this out.

Signed-off-by: Michael Roth <b63e24eec55b9c8de46eeea2193ca36823bfc515@nessie.de>

shmul/lunit,sam-github/lunit,ennorehling/lunit