Noting how to use coverage and bringing my code to 100 % coverage
Had the logic in generate_keys wrong. Now tests will create the keys when they dont exist but only once. Increasing code coverage in crypto to 99 % :D