test commit using keys