Added slashes in generated tests when they are invoked on directory.

This makes it easier to find directory for test using IDEA's go to file/search everywhere features.