[+] fixed resource filenaming
[+] create directory if not exists
[+] remove old files before tests
[+] added check for unicode strings