Key/Password set/reset test