tests: Add more tests for auth KeyFile handling