tests: fix wrong file path
index: consisent code formatting
index: move export to bottom
index: use every not reduce
all: consistent import order
index: avoid overwrite, use words variable