test that we produce our key correctly