generation of self-signed certs

fixed tests by using full path