Fix tests for new keysDir config