Surround $DbName with square brackets and removed unused test directory.