Issue #2333747 by jhedstrom, tim.plunkett: Fixed run-tests.sh ignores phpunit tests when using the --module flag.