fixing null key value on test