fixing key test