fix test that was failing due to using wrong key