fix(test js-style file): create a style file for tests for allvalid directory names.

There are multiple names that the test directory so we should only log something
if we can't create a style file when all valid names are used up.